package com.github.wxiaoqi.security.psi.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 库存调拨
 * 
 * @author lcc
 * @email 
 * @date 2019-01-22 16:39:34
 */
@Table(name = "psi_inventory_allocation")
public class InventoryAllocation implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    /**
     * 调拨编号
     */
    @Id
    private Integer id;
	
	    /**
     * 调拨编码
     */
    @Column(name = "allocation_code")
    private String allocationCode;
	
	    /**
     * 入库ID
     */
    @Column(name = "in_warehouse_id")
    private Integer inWarehouseId;
	
	    /**
     * 物资名称
     */
    @Column(name = "material_name")
    private String materialName;
	
	    /**
     * 调出项目ID
     */
    @Column(name = "out_project_id")
    private Integer outProjectId;
	
	    /**
     * 调入项目ID
     */
    @Column(name = "in_project_id")
    private Integer inProjectId;
	
	    /**
     * 调拨数量
     */
    @Column(name = "number")
    private Float number;
	
	    /**
     * 库管员
     */
    @Column(name = "storekeeper")
    private Integer storekeeper;
	
	    /**
     * 调拨时间
     */
    @Column(name = "allocation_time")
    private Date allocationTime;
	

	/**
	 * 设置：调拨编号
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：调拨编号
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：调拨编码
	 */
	public void setAllocationCode(String allocationCode) {
		this.allocationCode = allocationCode;
	}
	/**
	 * 获取：调拨编码
	 */
	public String getAllocationCode() {
		return allocationCode;
	}
	/**
	 * 设置：入库ID
	 */
	public void setInWarehouseId(Integer inWarehouseId) {
		this.inWarehouseId = inWarehouseId;
	}
	/**
	 * 获取：入库ID
	 */
	public Integer getInWarehouseId() {
		return inWarehouseId;
	}
	/**
	 * 设置：物资名称
	 */
	public void setMaterialName(String materialName) {
		this.materialName = materialName;
	}
	/**
	 * 获取：物资名称
	 */
	public String getMaterialName() {
		return materialName;
	}
	/**
	 * 设置：调出项目ID
	 */
	public void setOutProjectId(Integer outProjectId) {
		this.outProjectId = outProjectId;
	}
	/**
	 * 获取：调出项目ID
	 */
	public Integer getOutProjectId() {
		return outProjectId;
	}
	/**
	 * 设置：调入项目ID
	 */
	public void setInProjectId(Integer inProjectId) {
		this.inProjectId = inProjectId;
	}
	/**
	 * 获取：调入项目ID
	 */
	public Integer getInProjectId() {
		return inProjectId;
	}
	/**
	 * 设置：调拨数量
	 */
	public void setNumber(Float number) {
		this.number = number;
	}
	/**
	 * 获取：调拨数量
	 */
	public Float getNumber() {
		return number;
	}
	/**
	 * 设置：库管员
	 */
	public void setStorekeeper(Integer storekeeper) {
		this.storekeeper = storekeeper;
	}
	/**
	 * 获取：库管员
	 */
	public Integer getStorekeeper() {
		return storekeeper;
	}
	/**
	 * 设置：调拨时间
	 */
	public void setAllocationTime(Date allocationTime) {
		this.allocationTime = allocationTime;
	}
	/**
	 * 获取：调拨时间
	 */
	public Date getAllocationTime() {
		return allocationTime;
	}
}
